package com.victor.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.victor.entity.Category;
@Mapper
public interface CategoryDao {
    int batchDelete(@Param("ids")int[] ids);

    int insert(Category record);

    Category findById(Integer cId);

    int update(Category record);

	List<Category> getCategory(Category category);
}